﻿using System.Data.Entity.ModelConfiguration;
using ZFine.Domain.Entity;

namespace Logic.Map.Project
{
    public class InformMessagesMap : EntityTypeConfiguration<InformMessagesEntity>
    {
        public InformMessagesMap()
            {
                this.ToTable("InformMessages");
                this.HasKey(t => t.F_Id);
                Property(p => p.F_Id).HasMaxLength(50);
                Property(p => p.F_CreatorUserId).HasMaxLength(50);
                Property(p => p.F_LastModifyUserId).HasMaxLength(50);
                Property(p => p.F_DeleteUserId).HasMaxLength(50);
                Property(p => p.Title).HasMaxLength(50);
                Property(p => p.SendUserName).HasMaxLength(50) ;
                Property(p => p.Remark).HasMaxLength(200);

                // Property(x => x.F_thispric).HasPrecision(18,2)
            }
        
    }
}
